package org.jeecg.modules.chg.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.chg.entity.ChgFees;

import java.util.List;

/**
 * @Description: 收费记录
 * @Author: jeecg-boot
 * @Date:   2022-02-21
 * @Version: V1.0
 */
public interface IChgBillService extends IService<ChgFees> {


	/**创建收据PDF打印*/
	public Result<?> createFeePrintBillSj(JSONObject billData);

    JSONObject getPrintConfig(String dbCode);

    /**收费票据打印数据**/
	public Result<?> printBillData(JSONObject billData);


	Result<?> printRepeatBillDataPdf(JSONObject billData);

	/**收费票据打印后提交**/
	public Result<?> printBillSubmit(JSONObject billData);


	/***根据缴费ID查询未开票的收费记录*/
	public List<ChgFees> noOpenBillFees(String paymentId);

	/**作废已打印票据*/
	public Result<?> printVoidBill(JSONObject billData);


	/**票据重打*/
	public Result<?> printRepeatBillData(JSONObject billData);


}
